<template>
	<view class="content">
		<image class="logo" src="/static/chibimoth.webp"></image>
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
		<text class="log">{{log}}</text>
	</view>
	
	

</template>

<script>
	const innerAudioContext = uni.createInnerAudioContext();
	innerAudioContext.autoplay = true;
	innerAudioContext.src = '/static/xyy.mp3';
	innerAudioContext.onPlay(() => {
	  console.log('开始播放');
	});
	innerAudioContext.onError((res) => {
	  console.log(res.errMsg);
	  console.log(res.errCode);
	});

	 


	
	export default {
		
		data() {
			return {
				
				title: '新年快乐！',
				log:'鞭炮响，新年到，春晚送祝福，节目个个好，群众齐欢呼，新年新气象，祝福财气旺，祝君事业有成，合家欢乐，步步高升！'
			}
		},
		onLoad() {


		},
		methods: {

		}
	}
 
</script>

<style  lang="scss">
	@font-face{
		font-family: llt;
		src:url('/font/llt.ttf');
	}
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 145rpx;
		width: 200rpx;
		margin-top: 150rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 10rpx;
	}


	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-family: llt;
		font-size: 36rpx;
		color: #ffffff;
	}
	.log {
		margin-top: 150rpx;
		margin-left: 80rpx;
		margin-right: 80rpx;
		font-size: 45rpx;
		font-family: llt;
		color: #ff5500;
	}
	page,body {
		background: url(https://s2.loli.net/2024/05/20/novtfREpbDeqagx.webp) no-repeat center center fixed ; 
		background-size: cover;
		box-sizing: border-box;
	}
</style>
